package generalObjects;

import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.server.ServerNotActiveException;
import java.util.List;

import communicationModule.MessageObject;
import communicationModule.SendResult;

/**
 * An interface used to describe requirements for a layer in the GCom stack.
 */
public interface LayerAccess {

    public List<SendResult> process(List<MessageObject> mOList)
            throws RemoteException, NotBoundException, ServerNotActiveException;

    public void setLowerLayer(LayerAccess layer);

}
